<template>
  <div class="home">
    <h1>欢迎来到课程学习平台</h1>
    <p>这是首页视图</p>
  </div>
</template>

<script>
export default {
  name: 'HomeView',
  data() {
    return {
    }
  },
  mounted() {
    // 组件挂载后的逻辑
  }
}
</script>

<style scoped>
.home {
  text-align: center;
  padding: 2rem;
}

h1 {
  color: #42b983;
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
  color: #666;
  font-size: 1.1rem;
}
</style>